package com.cellphone.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cellphone.entity.Replies;

/**
 * 回复接口
 * @author panyingtao
 *
 */
public interface RepliesDao {
	/**
	 * 添加回复
	 * @param replies
	 */
	void add(Replies replies);
	
	/**
	 * 根据资讯id获得回复内容
	 * @param infoId
	 */
	List<Replies> getRepliesByInfoId(@Param("id")int infoId);
}
